#ifndef QLUIUTILITY_H
#define QLUIUTILITY_H

#include <QObject>

struct Color
{
    Color(quint32 c)
        :r((c>>16)&0xff)
        ,g((c>>8)&0xff)
        ,b((c)&0xff)
    {

    }

    Color(quint8 r, quint8 g, quint8 b)
        :r(r)
        ,g(g)
        ,b(b)
    {

    }
    quint8 r, g, b;
};

enum MoveDirection {
    Left = 561,
    Right = 562,
    Up,
    Down
};

#endif // QLUIUTILITY_H
